<?php
class KqBd extends AppModel {

	var $name = 'KqBd';
	var $validate = array(
		'p_dt_bd_id' => array('numeric'),
		'doituong_id' => array('numeric'),
		'SL_TREN_BD' => array('numeric'),
		//'GHICHU' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'PDtBd' => array(
			'className' => 'PDtBd',
			'foreignKey' => 'p_dt_bd_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Doituong' => array(
			'className' => 'Doituong',
			'foreignKey' => 'doituong_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>